package com.luo.msg;

import java.io.Serializable;
import java.util.Map;

public interface MessageDelegate {
	  void handleMessage(String message);
	  void handleMessage(Map message); void handleMessage(byte[] message);
	  void handleMessage(Serializable message);
	  // pass the channel/pattern as well
	  void handleMessage(Serializable message, String channel);
}
